<template>
    <section class="login-avatar">
        <img src="~@/assets/imgs/mobile.png" alt="登录" @click="handleClickLogIn"/>
        <span class="text">登录 / 注册</span>
    </section>
</template>

<script>
export default {
    name: '',
    props: {},
    methods: {
        handleClickLogIn () {
            this.$router.push({
                name: 'login'
            });
        }
    }
};
</script>

<style scoped lang="less">
.login-avatar {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    img {
        width: 132px;
    }
    .text {
        margin-top: 15px;
        font-size: 22px;
        color: #fff;
    }
}
</style>
